package ooday04homework;

public class Chick extends Animal {

    Chick(){

    }
    Chick(String name,int age, String color){
        super(name, age, color);
    }
    void layEggs(){
        System.out.println("名叫"+name+"，今年"+age+"岁"+color+"色的小鸡正在下蛋.......");
    }
    void eat(){
        System.out.println("名叫"+name+"，今年"+age+"岁"+color+"色的小鸡正在吃小米.......");
    }
}
